<template>
<h2>登录页面</h2>
</template>
<script setup lang="ts">

import {useRoute} from 'vue-router'
const route=useRoute();
alert("账户"+route.params.username+"密码"+route.params.userpwd)
</script>